﻿using Domain;
using Domain.ValueObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure
{
    public class SmsCodeSender : ISmsCodeSender
    {
        public Task SendCodeAsync(PhoneNumber phone, string code)
        {
            Console.WriteLine($"给手机号为:{phone.Number}发送验证码，验证码为：{code}");
            return Task.CompletedTask;
        }
    }
}
